﻿using Spider.Analyse;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using HtmlAgilityPack;
using Spider.Rules;

namespace Spider.HTMLAnalyse.小说.八零电子书
{
    public class 八零电子书列表页面解析 : AnalyseBase, IAnalyse
    {
        public override List<T> GetListData<T>(HtmlDocument doc, IRule rule, object o = null)
        {
            throw new NotImplementedException();
        }

        /// <summary>
        /// 解析出下一页
        /// </summary>
        /// <param name="node"></param>
        /// <returns></returns>
        public override string AnalyseString(HtmlNode node, object o = null)
        {
            return node.SelectNodes("a")[0].OuterHtml.GetHref();
        }


    }
}
